package com.daoshu.socket.service.publisher;


import org.springframework.stereotype.Service;


@Service
public class PublisherService {
   /* @Autowired
    private StringRedisTemplate redisTemplate;

    public String sendMessage(String name) {
        try {
            redisTemplate.convertAndSend("TOPIC_USERNAME", name);
            return "send message ok";
        } catch (Exception e) {
            e.printStackTrace();
            return "send message fail";
        }
    }*/
}
